package sa_prakt1.bl.entity.impl;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.ArrayList;
import java.util.List;
import sa_prakt1.bl.entity.interfaces.Forum;
import sa_prakt1.bl.entity.interfaces.Member;

/**
 *
 * @author Andreas
 */
public class AbstractMember implements Member {

    private String OID;
    private String Nickname;
    private String Password;
    private String Email;
    private int Points;
    private List<Forum> subscriptions = new ArrayList<>();

    public AbstractMember() {
    }

    public AbstractMember(String OID, String Nickname, String Email, String Password, int Points) {
        this.OID = OID;
        this.Nickname = Nickname;
        this.Password = Password;
        this.Email = Email;
        this.Points = Points;
    }

    /**
     * @return the OID
     */
    @Override
    public String getOID() {
        return OID;
    }

    /**
     * @param OID the OID to set
     */
    @Override
    public void setOID(String OID) {
        this.OID = OID;
    }

    /**
     * @return the Nickname
     */
    @Override
    public String getNickname() {
        return Nickname;
    }

    /**
     * @param Nickname the Nickname to set
     */
    @Override
    public void setNickname(String Nickname) {
        this.Nickname = Nickname;
    }

    /**
     * @return the Password
     */
    @Override
    public String getPassword() {
        return Password;
    }

    /**
     * @param Password the Password to set
     */
    @Override
    public void setPassword(String Password) {
        this.Password = Password;
    }

    /**
     * @return the Email
     */
    @Override
    public String getEmail() {
        return Email;
    }

    /**
     * @param Email the Email to set
     */
    @Override
    public void setEmail(String Email) {
        this.Email = Email;
    }

    /**
     * @return the Points
     */
    @Override
    public int getPoints() {
        return Points;
    }

    /**
     * @param Points the Points to set
     */
    @Override
    public void setPoints(int Points) {
        this.Points = Points;
    }

    /**
     * @return the subscriptions
     */
    @Override
    public List<Forum> getSubscriptions() {
        return subscriptions;
    }

    /**
     * @param subscriptions the subscriptions to set
     */
    @Override
    public void setSubscriptions(List<Forum> subscriptions) {
        this.subscriptions = subscriptions;
    }
}
